package com.xgsm.dao;

import com.xgsm.pojo.User;

import java.util.List;

/**
 * Description: SpringMybatis
 * Created by WuHuaSen .
 * Created Date:  2022/4/17 11:54
 * Version:  V1.0
 */
public interface UserDao {
    //查询所有学生
    public List<User> SelectAllUser();

    //添加学生
    public int InsertStudent(User user);

    //查询学生所在的班级根据
    public List<User> SelectAllUserAndClazz(String name);

    //根据班级id查学生
    public List<User> SelectAllUserBycid(int cid);

}
